﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="ExtendedMvc.ModelViewPage<IEnumerable<ExtendedMvc.WebTest.Model.Entities.User>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	List
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

	<h2>List</h2>

	<%: Html.Grid(m => m.Id).Columns(column => {
			column.ForCommands();
			column.ForData(m => m.Id);
			column.ForData(m => m.Name);
			column.ForData(m => m.Email);
			column.ForData(m => m.Deleted);
		}).Render()
	%>
    <br />
    <br />
	<%: Html.Grid(m => m.Id).Render()%>

</asp:Content>

